package com.uniview.service.orderType;

import com.uniview.entity.vo.Pager;
import com.uniview.entity.vo.orderType.ExternalTest;

/**
 * 对外测试数据接口
 * 
 * @author Qingtian Lei
 *
 */
public interface ExternalTestService {

	/**
	 * 判断工号是否超级管理员或者超级读者
	 * 
	 * @param workNo
	 * @return
	 * @throws Exception
	 */
	public boolean checkSuperRoleByWorkNo(String workNo) throws Exception;

	/**
	 * 根据工号查找对外测试数据列表
	 * 
	 * @param workNo
	 * @param queryString
	 * @param page
	 * @param limit
	 * @return
	 */
	public Pager<ExternalTest> findExternalTestByWorkNo(String workNo, String queryString, int page, int limit)
			throws Exception;

}
